import user from './modules/user'
import app from './modules/app'
import style from './modules/style'
import getters from './getters'

// #ifndef VUE3
import Vue from 'vue'
import Vuex from 'vuex'
Vue.use(Vuex)
const store = new Vuex.Store({
// #endif

// #ifdef VUE3
import {createStore} from 'vuex'
const store = createStore({
// #endif
	modules: {
		user,
		app,
		style,
	},
	getters
})

export default store